public abstract class User {
    protected String name;
    public doOperation[] doOperations;
    public User(String name) {
        this.name = name;
    }
    public abstract int menu();
    public void dooperation(int choice,booklist bl){
        doOperations[choice].work(bl);
    }

    public void doOperation(int choice, booklist bl) {
        doOperations[choice].work(bl);
    }
}
